﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head> 
   <title>Importing steps</title> 
   <!-- Template design (c) copyright 2008-2009 by Tim Green and EC Software -->
   <meta name="generator" content="Help &amp; Manual" /> 
   <meta name="keywords" content="" />
   <meta name="description" content="Importing steps" />
   <meta name="copyright" content="© 2012 Kentico Software" /> 
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <link type="text/css" href="default.css" rel="stylesheet" /> 
   <link type="text/css" href="custom.css" rel="stylesheet" />

   <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
   <script type="text/javascript" src="jquery.scrollTo-min.js"></script>
   <script type="text/javascript" src="nsh.js"></script>



         
   <!-- CSS set with project variables and local attributes --> 
   <style type="text/css" media="screen"> 
   body { background: #fff; } 
   #breadcrumbs {width: 100%; background-color: white; border-bottom: 1px solid #000; padding: 0px 0px 5px 15px;
   margin: 3px 0; font-size: 8pt; color: #000;}
   #breadcrumbs a { color: #000; text-decoration: none;}
   #breadcrumbs a:visited { color: #000; }
   #breadcrumbs a:hover { color: #098ae2; text-decoration: none; }
   .help-url { font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; 
               color: #1f84e8; text-align: center; margin: 5px 20px 10px 0px; 
               padding-top: 14px; border-top: 1px solid #000;}
   .help-url a { color: #098ae2; text-decoration: none; }
   .help-url a:visited { color: #098ae2; }
   .help-url a:hover { color: #098ae2; text-decoration: underline; }
   .highlight {background: #ffff40;}
   .breadhead {padding: 5px 0px 0px 0px !important;}    
   #innerdiv   
   {   
   padding-left: 5px;
   }
   

   </style> 

<!-- Adjustment for IE -->
<!--[if lte IE 8]>
<style type="text/css">
.topichead { padding-right: 0; }
   
   
   	.breadhead {
	margin: 0;
	padding-right: 5px;
	}
   
   
</style>
<![endif]-->
   
<script type="text/javascript">
// Initialize the page 
addEvent(window, "load", nsrInit);
addEvent(window, "load", doResize);
addEvent(window, "resize", doResize);
addEvent(window, "load", toggleJump);

</script>


<script type="text/javascript">
function mailFB_custom() {
var headerText = unQuot("Feedback on: Kentico CMS 6.0 Context Help - Importing steps".replace('&nbsp;',''));
var fb1 = "mailto:" + escape('Kentico Support Team <support@kentico.com>') + "?subject=" + headerText;
var titlePath = unQuot("CMS Site Manager &gt; Sites &gt; Import site or objects &gt; Importing steps /");
var fb2 = "&body=Ref:%20" + titlePath + "%20ID:%20site_import%0A%0D%0A%0D" + unQuot("Dear Support Staff,") + "%0A%0D%0A%0D";
var fb = fb1 + fb2;
document.location.href=fb;
}
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-105987-4']);
  _gaq.push(['_setDomainName', '.kentico.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>        
<script type="text/javascript" src="helpman_topicinit.js"></script>
<!-- Redirect browser to frame page if page is not in the content frame. -->
<script type="text/javascript">
<!--
if (location.search.lastIndexOf("toc=0")<=0) {
  if (parent.frames.length==0) { parent.location.href="index.html?site_import.htm"; }
  else { parent.quicksync('a2.1.4.1'); }
}
//-->
</script>
<script type="text/javascript" src="highlight.js"></script></head> 
<body onload="highlight();">
<div id="hmpopupDiv" style="visibility:hidden; position:absolute; z-index:1000; "></div>
<!--ZOOMSTOP-->

<div id="printheader">
<span id="printtitle">Kentico CMS 6.0 Context Help</span><br />
<p class="p_Heading1"><span class="f_Heading1">Importing steps</span></p>
</div>
<div id="idheader" style="border-bottom:1px solid #000;margin:0px 0px;"> 
<table id="breadtable" border="0" cellspacing="0" cellpadding="0" width="100%"> 
  <tr >
  <td align="left" class="breadhead" >
       <p id="breadcrumbs"><a href="mode_selection.htm"
        onmouseover="document.images.main.src='home_h.gif'" 
        onmouseout="document.images.main.src='home.gif'">
        <img name="main" src="home.gif" border="0" alt="Home topic" title="Home topic" /></a> 
        
        CMS Site Manager &gt; Sites &gt; Import site or objects:</p> 
  </td>
  </tr>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0" id="headtable"> 

<!-- Script version of NavHeader -->
  <tr id="scriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead" style="padding-left: 15px;"> 
    <p class="p_Heading1"><span class="f_Heading1">Importing steps</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="step_1.htm"
        onmouseover="document.images.prev.src='button_prev_h.gif'" 
        onmouseout="document.images.prev.src='button_prev.gif'">
        <img name="prev" src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="importgrid.htm"
        onmouseover="document.images.next.src='button_next_h.gif'" 
        onmouseout="document.images.next.src='button_next.gif'"><img name="next" src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>

   
   
   
   
   

     
   <td id="print-button" align="center" width="20" class="idnav" valign="bottom">
     <a href="javascript: print();" 
     onmouseover="document.images.printbutton.src='print_h.gif'" 
     onmouseout="document.images.printbutton.src='print.gif'"><img name="printbutton" border="0" alt="Print this topic" title="Print this topic" src="print.gif" /></a>
   </td>  
     
     

  
   <td id="mail-feedback" align="center" width="20" class="idnav" valign="bottom">
   <a href="#"
        onclick='mailFB_custom();'
        onmouseover="document.images.feedback.src='mail_h.gif'" 
        onmouseout="document.images.feedback.src='mail.gif'"><img name="feedback" src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>
<!-- End script navheader version -->

<!-- NoScript version of navheader -->

  <tr id="noScriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead"> 
    <p class="p_Heading1"><span class="f_Heading1">Importing steps</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="step_1.htm">
        <img src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="importgrid.htm">
        <img src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>
   
   
   
  
   

     
     
   <td align="center" width="20" class="idnav" valign="bottom">
   <img border="0" alt="JavaScript is required for the print function" title="JavaScript is required for the print function" src="print_d.gif" />
   </td>
     
     
   
   <td align="center" width="20" class="idnav" valign="bottom">
   <a href="mailto:support@kentico.com?subject=Documentation%20feedback&body=Ref%20ID:%20site_import%0D%0D"><img src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>

<!-- End noscript navheader version -->
  </table>
<div id="autoTocWrapper"></div>
</div> 

<div id="idcontent"><div id="innerdiv">
<!--ZOOMRESTART-->
<p class="p_Heading2"><span class="f_Heading2">Step 1</span></p>
<p>&nbsp;</p>
<p>In the first step of the wizard, you need to choose the import package that you want to import. Packages that are already stored in the in <span style="font-style: italic;">&lt;web project&gt;\CMSSiteUtils\Import</span> folder are listed in the <span style="font-weight: bold;">Import packages</span> listbox.</p>
<p>&nbsp;</p>
<p>You can upload additional packages to the folder (and hence add them to the list) using the <span style="font-weight: bold;">Upload package </span>(<img src="uploadpackage.png" width="13" height="13" border="0" alt="UploadPackage">) link. You can also add the package to the folder manually and click the <span style="font-weight: bold;">Refresh</span> (<img src="rebuildindex.png" width="13" height="13" border="0" alt="RebuildIndex">) link for it to get displayed in the list. Packages can be deleted (both from the list and from the file system) using the <span style="font-weight: bold;">Delete package</span> (<img src="delete.png" width="13" height="13" border="0" alt="Delete">) button.</p>
<p>&nbsp;</p>
<p>With a package selected, you can choose from the following options:</p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table width="820" cellspacing="0" cellpadding="5" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p>Preselect all items</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If selected, all items in the package will be preselected in the next step.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p>Preselect only new items</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If selected, only items that are not already in the database will be preselected.</p>
</td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p>Make the desired selection and proceed to the next step by clicking the <span style="font-weight: bold;">Next</span> button.</p>
<p>&nbsp;</p>
<p><span style="font-style: italic;">The following steps differ for site, set of objects and single object import. When importing a site-related single object, Step 2 will let you choose the target site form the existing sites. When importing a set of objects, Step 2 will be skipped and Step 3 will be displayed directly. </span></p>
<p>&nbsp;</p>
<p class="p_Heading2"><span class="f_Heading2">Step 2</span></p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table width="820" cellspacing="0" cellpadding="5" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p>Import a new site</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>When chosen, a new site will be created based on the contents of the package. You have to enter the site's display name, code name and the domain that it will use.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="29%" style="width:29%; border: solid 1px #000000;"><p>Import objects into an existing site</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>When chosen, contents of the package will be imported into the site chosen by the check-box below.</p>
</td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p class="p_Heading2"><span class="f_Heading2">Step 3</span></p>
<p>&nbsp;</p>
<p>In Step 3, you can select which of the objects from the exported package are to be imported and which are not. You can make this selection by choosing one of the categories displayed in the tree view on the left side of the screen. Only categories of objects found in the import package will be displayed. </p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>By selecting a category, a set of check boxes appears in the right part of the screen, letting you select which objects are to be imported. Objects that already exist in the database are marked with an asterisk (*). If you leave such object's check-box checked, this existing object will be overwritten with the newly imported one.</p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p class="p_Heading2"><span class="f_Heading2">Step 4</span></p>
<p>&nbsp;</p>
<p>In Step 4, an import log will be displayed, showing the progress of importing. You can abort importing by clicking the <span style="font-weight: bold;">Cancel</span> button any time. When the import successfully finishes, click the <span style="font-weight: bold;">Finish</span> button to return to <span style="font-weight: bold;">Site manager -&gt; Sites</span>.</p>
<p><span style="color: #000000;">&nbsp;</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table cellspacing="0" cellpadding="4" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="59" style="width:59px; border: solid 1px #000000;"><p style="text-align: justify; line-height: 1.50;"><span style="color: #000000;">&nbsp;</span></p>
<p style="text-align: justify; line-height: 1.50;"><img src="embim38.gif" width="51" height="54" vspace="1" hspace="1" border="0" alt=""></p>
</td>
<td valign="top" width="600" style="width:600px; border: solid 1px #000000;"><p style="text-align: justify; line-height: 1.50;"><span style="color: #000000;">&nbsp;</span></p>
<p><span style="font-weight: bold;">Application restart</span></p>
<p>&nbsp;</p>
<p>At the end of the import process, you may get the following error message:</p>
<p style="text-align: justify;"><span style="color: #000000;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-style: italic;">"Application has been restarted and the logging of the import process has been terminated. Please see context help in this section for more details and how to solve this issue."</span></p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>If so, you will have to finish the import process manually:</p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>1. Open the import package and extract all contents of the <span style="font-style: italic;">&lt;package&gt;\Data\Files </span>folder.</p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>2. Remove the <span style="font-style: italic;">.export</span> extension from names of all files in all extracted sub-folders.</p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>3. Rename all folders named ##SITENAME## to the code name of the target website and copy them to the root of the web project.</p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p>4. Copy all contents of the <span style="font-style: italic;">cms_attachments</span> folder (if it is present among the extracted folders) to the location in the target project where document attachments are stored (as configured in <a href="settings_systemfiles.htm">Site Manager -&gt; Settings -&gt; System -&gt; Files</a>). Please note that this is applicable only when the system is configured to store document attachments in the file system (not in the DB).</p>
<p>&nbsp;</p>
<p>5. Copy all contents of each folder named as an object type (e.g. <span style="font-style: italic;">cms_avatar</span>, <span style="font-style: italic;">cms_documenttype</span>,  <span style="font-style: italic;">forums_forum</span>, etc.) to the root of the web project.</p>
<p>&nbsp;</p>
</td>
</tr>
</table>
</div>
<p style="text-align: justify;"><span style="color: #000000;">&nbsp;</span></p>

<!--ZOOMSTOP--> 

<noscript>
<p class="help-url"><b>Help URL:&nbsp;</b><a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?site_import.htm" target="_top" title="Right-click to copy the URL of this help topic">
<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?site_import.htm</a>
</p>
</noscript>
<script type="text/javascript">
var autoURL = true;
if (autoURL) {
      document.write(getHref("index.html","Help URL:","Right-click to copy the URL of this help topic"));
      } else {
             document.write('<p class="help-url"><b>Help URL:&nbsp;</b>');
             document.write('<a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?site_import.htm" target="_top" title="Right-click to copy the URL of this help topic"><%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?site_import.htm</a>');
             document.write('</p>');
      }
</script>

</div></div> 
</body>
</html>





